package com.jic.market.service;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.TagCategory;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.market.response.TagCategoryFirstInfo;
import com.jic.market.response.TagCategoryInfo;

/**
* 标签分类表
* @author : 
* @email : 
* @since : 2020-03-10 11:41:25
* @version : v1.0.0
*/
public interface TagCategoryService {

    long insert(TagCategory tagCategory);

    long delete(Long id);

    long update(TagCategory tagCategory);

    TagCategory queryByPrimaryKey(Long id);

    List<TagCategory> query(TagCategory tagCategory);

    RestResult<PageResult<TagCategoryFirstInfo>> queryPage(TagCategory tagCategory);

    //添加
    RestResult<Long> insertTag(TagCategory tagCategory);

    //编辑
    RestResult<Long> editTag(TagCategory tagCategory);

    //删除
    RestResult<Long> delTag(TagCategory tagCategory);

    //标签列表查询标签分类列表
    RestResult<PageResult<TagCategoryInfo>> getTagList(TagCategory tagCategory);

}